import { createRouter, createWebHashHistory } from "vue-router";


const routes =[
    {
        path: '/main',
        name: 'main',
        component: ()=> import('@/components/main')
    },
    
    {
        path: '/login',
        name: 'login',
        component: ()=> import('@/components/login')
    },
    {
        path: '/user',
        name: 'user',
        component: ()=> import('@/components/main/user.vue')
    }
]

const router = createRouter({
    history: createWebHashHistory(),
    routes,
})

export default router;